package org.zfes.snowier.cloud.zbss.cms.column.service;

import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.cms.column.model.CmsColumnUserDefineAttr;
public interface ICmsColumnUserDefineAttrService{

	 Optional<CmsColumnUserDefineAttr> loadCmsColumnUserDefineAttrById(Long id);
	
	 void createAndUpdateCmsColumnUserDefineAttr(Long columnId,Map<String,String> UserDefineAttrMap);
	
	 void createCmsColumnUserDefineAttr(CmsColumnUserDefineAttr cmsColumnUserDefineAttr);
	 
	 void updateCmsColumnUserDefineAttr(CmsColumnUserDefineAttr cmsColumnUserDefineAttr);

	 void deleteCmsColumnUserDefineAttr(Long id);
	
	 void updateCmsColumnUserDefineAttrStatusByColumnId(Long columnId,Byte status);
	 
	 DataSet loadCmsColumnUserDefineAttrDataSet(Map<String, Object> params);
	 

 	void setCmsColumnUserDefineAttrStatus(Long id, Byte status);
}